package org.mc.sbd.mock.api;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class UserMobilePhoneLoginDto {
    @NotBlank(message = "手机不能为空")
    @Pattern(regexp = "^1\\d{10}$", message = "手机格式不对")
    private String mobilePhoneNo;

    @NotBlank(message = "验证码不能为空")
    private String captchaCode;
}
